#ifndef WIDGET_READER_TEXTBOX_H
#define WIDGET_READER_TEXTBOX_H

#include <QtGui/QTextBrowser.h>
#include <QtWebKit/QWebView>

namespace Jonathan
{

   class Widget_Reader_TextBox :public QWebView
   {
      Q_OBJECT
   public:
       Widget_Reader_TextBox  (QWidget *parent = 0);

   //protected:
   //    void mouseReleaseEvent (QMouseEvent *event);

   public slots:
       void ShowContextMenu   (QPoint);
       void LinkClicked       (QUrl);

   private:
       bool                   m_LinkedClicked;
   };

}

#endif // WIDGET_READER_TEXTBOX_H
